package pl.word.domain.service;

import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
import javax.inject.Inject;

import pl.word.app.dao.UserDao;
import pl.word.domain.model.Project;


@Stateless
@TransactionAttribute(TransactionAttributeType.REQUIRED)
public class ProjectService {
	
	@Inject
	private UserDao userDao;
	
	
	public void createNewProject(){
		
		Project project = new Project();
		userDao.saveNewProject(project);
		
		
	}
	

}
